.PHONY:all
all:Server Client

Flag=# -Dmyself=1
Lib= -ljsoncpp

Client:ClientCal.cpp 
	g++ -o $@ $^ $(Flag) $(Lib)
Server:ServerCal.cpp 
	g++ -o $@ $^ -g $(Flag) $(Lib)
.PHONY:clean
clean:
	rm -rf Server Client